package com.example.flashsales.service;

import com.example.flashsales.entity.dto.ZhekouDto;
import com.example.flashsales.entity.vo.ZhekouVo;

import java.util.Date;
import java.util.List;

public interface ZhekouService {
    //创建卷
    boolean createVolume(ZhekouDto zhekouDto);

    //查看卷
    List<ZhekouVo> viewVolume(Integer state, String name, Date create_time, Date end_time, Integer page, Integer num,Long id,Long orderId,Long userId);

    //禁用卷
    boolean disableVolume(List<Long> list);

    //发布卷
    boolean releaseVolume(List<Long> list);

    //用户领取卷
    boolean drawVoluem(int id, Long zid);
}
